//
// Source code recreated from ConfigVo .class file by IntelliJ IDEA
// (powered by Fernflower decompiler)
//

package com.ht.modules.system.online.cgreport.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import java.io.Serializable;
import java.util.Date;
import org.springframework.format.annotation.DateTimeFormat;

@TableName("onl_cgreport_param")
public class OnlCgreportParam implements Serializable {
    private static final long serialVersionUID = 1L;
    @TableId(
        type = IdType.ASSIGN_UUID
    )
    private String id;
    private String cgrheadId;
    private String paramName;
    private String paramTxt;
    private String paramValue;
    private Integer orderNum;
    private String createBy;
    @JsonFormat(
        timezone = "GMT+8",
        pattern = "yyyy-MM-dd HH:mm:ss"
    )
    @DateTimeFormat(
        pattern = "yyyy-MM-dd HH:mm:ss"
    )
    private Date createTime;
    private String updateBy;
    @JsonFormat(
        timezone = "GMT+8",
        pattern = "yyyy-MM-dd HH:mm:ss"
    )
    @DateTimeFormat(
        pattern = "yyyy-MM-dd HH:mm:ss"
    )
    private Date updateTime;

    public OnlCgreportParam() {
    }

    public String getId() {
        return this.id;
    }

    public String getCgrheadId() {
        return this.cgrheadId;
    }

    public String getParamName() {
        return this.paramName;
    }

    public String getParamTxt() {
        return this.paramTxt;
    }

    public String getParamValue() {
        return this.paramValue;
    }

    public Integer getOrderNum() {
        return this.orderNum;
    }

    public String getCreateBy() {
        return this.createBy;
    }

    public Date getCreateTime() {
        return this.createTime;
    }

    public String getUpdateBy() {
        return this.updateBy;
    }

    public Date getUpdateTime() {
        return this.updateTime;
    }

    public void setId(final String id) {
        this.id = id;
    }

    public void setCgrheadId(final String cgrheadId) {
        this.cgrheadId = cgrheadId;
    }

    public void setParamName(final String paramName) {
        this.paramName = paramName;
    }

    public void setParamTxt(final String paramTxt) {
        this.paramTxt = paramTxt;
    }

    public void setParamValue(final String paramValue) {
        this.paramValue = paramValue;
    }

    public void setOrderNum(final Integer orderNum) {
        this.orderNum = orderNum;
    }

    public void setCreateBy(final String createBy) {
        this.createBy = createBy;
    }

    public void setCreateTime(final Date createTime) {
        this.createTime = createTime;
    }

    public void setUpdateBy(final String updateBy) {
        this.updateBy = updateBy;
    }

    public void setUpdateTime(final Date updateTime) {
        this.updateTime = updateTime;
    }

    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        } else if (!(o instanceof OnlCgreportParam)) {
            return false;
        } else {
            OnlCgreportParam other = (OnlCgreportParam)o;
            if (!other.canEqual(this)) {
                return false;
            } else {
                Object this$id = this.getId();
                Object other$id = other.getId();
                if (this$id == null) {
                    if (other$id != null) {
                        return false;
                    }
                } else if (!this$id.equals(other$id)) {
                    return false;
                }

                Object this$cgrheadId = this.getCgrheadId();
                Object other$cgrheadId = other.getCgrheadId();
                if (this$cgrheadId == null) {
                    if (other$cgrheadId != null) {
                        return false;
                    }
                } else if (!this$cgrheadId.equals(other$cgrheadId)) {
                    return false;
                }

                Object this$paramName = this.getParamName();
                Object other$paramName = other.getParamName();
                if (this$paramName == null) {
                    if (other$paramName != null) {
                        return false;
                    }
                } else if (!this$paramName.equals(other$paramName)) {
                    return false;
                }

                label110: {
                    Object this$paramTxt = this.getParamTxt();
                    Object other$paramTxt = other.getParamTxt();
                    if (this$paramTxt == null) {
                        if (other$paramTxt == null) {
                            break label110;
                        }
                    } else if (this$paramTxt.equals(other$paramTxt)) {
                        break label110;
                    }

                    return false;
                }

                label103: {
                    Object this$paramValue = this.getParamValue();
                    Object other$paramValue = other.getParamValue();
                    if (this$paramValue == null) {
                        if (other$paramValue == null) {
                            break label103;
                        }
                    } else if (this$paramValue.equals(other$paramValue)) {
                        break label103;
                    }

                    return false;
                }

                Object this$orderNum = this.getOrderNum();
                Object other$orderNum = other.getOrderNum();
                if (this$orderNum == null) {
                    if (other$orderNum != null) {
                        return false;
                    }
                } else if (!this$orderNum.equals(other$orderNum)) {
                    return false;
                }

                label89: {
                    Object this$createBy = this.getCreateBy();
                    Object other$createBy = other.getCreateBy();
                    if (this$createBy == null) {
                        if (other$createBy == null) {
                            break label89;
                        }
                    } else if (this$createBy.equals(other$createBy)) {
                        break label89;
                    }

                    return false;
                }

                label82: {
                    Object this$createTime = this.getCreateTime();
                    Object other$createTime = other.getCreateTime();
                    if (this$createTime == null) {
                        if (other$createTime == null) {
                            break label82;
                        }
                    } else if (this$createTime.equals(other$createTime)) {
                        break label82;
                    }

                    return false;
                }

                Object this$updateBy = this.getUpdateBy();
                Object other$updateBy = other.getUpdateBy();
                if (this$updateBy == null) {
                    if (other$updateBy != null) {
                        return false;
                    }
                } else if (!this$updateBy.equals(other$updateBy)) {
                    return false;
                }

                Object this$updateTime = this.getUpdateTime();
                Object other$updateTime = other.getUpdateTime();
                if (this$updateTime == null) {
                    if (other$updateTime != null) {
                        return false;
                    }
                } else if (!this$updateTime.equals(other$updateTime)) {
                    return false;
                }

                return true;
            }
        }
    }

    protected boolean canEqual(final Object other) {
        return other instanceof OnlCgreportParam;
    }

//    public int hashCode() {
//        int PRIME = true;
//        int result = 1;
//        Object $id = this.getId();
//        int result = result * 59 + ($id == null ? 43 : $id.hashCode());
//        Object $cgrheadId = this.getCgrheadId();
//        result = result * 59 + ($cgrheadId == null ? 43 : $cgrheadId.hashCode());
//        Object $paramName = this.getParamName();
//        result = result * 59 + ($paramName == null ? 43 : $paramName.hashCode());
//        Object $paramTxt = this.getParamTxt();
//        result = result * 59 + ($paramTxt == null ? 43 : $paramTxt.hashCode());
//        Object $paramValue = this.getParamValue();
//        result = result * 59 + ($paramValue == null ? 43 : $paramValue.hashCode());
//        Object $orderNum = this.getOrderNum();
//        result = result * 59 + ($orderNum == null ? 43 : $orderNum.hashCode());
//        Object $createBy = this.getCreateBy();
//        result = result * 59 + ($createBy == null ? 43 : $createBy.hashCode());
//        Object $createTime = this.getCreateTime();
//        result = result * 59 + ($createTime == null ? 43 : $createTime.hashCode());
//        Object $updateBy = this.getUpdateBy();
//        result = result * 59 + ($updateBy == null ? 43 : $updateBy.hashCode());
//        Object $updateTime = this.getUpdateTime();
//        result = result * 59 + ($updateTime == null ? 43 : $updateTime.hashCode());
//        return result;
//    }
//
//    public String toString() {
//        return "OnlCgreportParam(id=" + this.getId() + ", cgrheadId=" + this.getCgrheadId() + ", paramName=" + this.getParamName() + ", paramTxt=" + this.getParamTxt() + ", paramValue=" + this.getParamValue() + ", orderNum=" + this.getOrderNum() + ", createBy=" + this.getCreateBy() + ", createTime=" + this.getCreateTime() + ", updateBy=" + this.getUpdateBy() + ", updateTime=" + this.getUpdateTime() + ")";
//    }
}
